package com.kaf.springbootollama.domain;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class ChatResult implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    //你的聊天输入
    private String yourInput;
    //ai聊天输出
    private String aiOutput;
    //状态 0：成功 1：失败
    private String status;
    //时间戳
    private String timestamp;
    //模型
    private String model;

    public ChatResult(String aiOutput) {
        this.aiOutput = aiOutput;
    }
    public ChatResult() {
    }
    public String toString() {
        return "ChatResult [yourInput=" + yourInput + ", aiOutput=" + aiOutput + ", status=" + status + ", timestamp="
                + timestamp + ", model=" + model + "]";
    }
    
}
